package com.insigma.business.qrcode.soldier._consumer.impl;

import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier._consumer.SoldierDisabledInfoConsumer;
import com.insigma.business.qrcode.soldier._provider.SoldierDisabledInfoProvider;
import com.insigma.business.qrcode.soldier.dto.SoldierDisabledInfoDTO;
import com.insigma.business.qrcode.soldier.dto.request.SoldierDisabledInfoInsertRequest;
import com.insigma.business.qrcode.soldier.dto.request.SoldierDisabledInfoSearchRequest;
import com.insigma.business.qrcode.soldier.dto.request.SoldierDisabledInfoUpdateRequest;
import com.insigma.business.qrcode.soldier.request.BaseGetRequest;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service("soldierDisabledInfoConsumer")
public class SoldierDisabledInfoConsumerImpl implements SoldierDisabledInfoConsumer {

    @Resource
    private SoldierDisabledInfoProvider soldierDisabledInfoProvider;

    @Override
    public BaseResponse<SoldierDisabledInfoDTO> getSoldierDisabledInfo(String idCardNo) {
        return soldierDisabledInfoProvider.getSoldierDisabledInfo(idCardNo);
    }

    
    @Override
    public BasePagingResponse<List<SoldierDisabledInfoDTO>> searchSoldierDisabledInfo(final SoldierDisabledInfoSearchRequest searchRequest) {
        return soldierDisabledInfoProvider.searchSoldierDisabledInfo(searchRequest);
    }

   
    @Override
    public BaseResponse<SoldierDisabledInfoDTO> getSoldierDisabledInfo(final BaseGetRequest baseGetRequest) {
        return soldierDisabledInfoProvider.getSoldierDisabledInfo(baseGetRequest);
    }

    
    @Override
    public BaseResponse<String> insertSoldierDisabledInfo(final SoldierDisabledInfoInsertRequest insertRequest) {
        return soldierDisabledInfoProvider.insertSoldierDisabledInfo(insertRequest);
    }

    
    @Override
    public BaseResponse<Integer> updateSoldierDisabledInfo(final SoldierDisabledInfoUpdateRequest updateRequest) {
        return soldierDisabledInfoProvider.updateSoldierDisabledInfo(updateRequest);
    }

    
    @Override
    public BaseResponse<Integer> deleteSoldierDisabledInfo(final BaseDeleteRequest deleteRequest) {
        return soldierDisabledInfoProvider.deleteSoldierDisabledInfo(deleteRequest);
    }


}
